//
//  NewsModel.h
//  ZzzzyManProject
//
//  Created by mac on 16/3/8.
//  Copyright © 2016年 ZzzzyMan@. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NewsModel : NSObject

@property (nonatomic,copy) NSString * imageName; //图片
@property (nonatomic,copy) NSString * title; //标题
@property (nonatomic,copy) NSString * source; //来源
@property (nonatomic,copy) NSString * data; //时间
@property (nonatomic,copy) NSString * content; //内容
@property (nonatomic,assign) BOOL isOpen; //是否点击

//字典转模型
+ (instancetype)newsModelWithDict:(NSDictionary *)dict;
//获取数据的方法
+ (void)newsModelSuccessBlock:(void(^)(NSArray * array))SuccessBlock errorBlock:(void(^)(NSError * error))errorBlock;

@end
